OGLX notebook 1
hnxj@github
Load toolboxes
clear;clc;close
all
;
cd(
'D:\Electrophysiology\Matdelane\'
);
addpath(genpath(
'matnwb'
));
addpath(genpath(
'matdelane'
));
generateCore();
nwbPath =
"data\"
;
nwbFiles = {dir(nwbPath).name};
nwbFiles = nwbFiles(endsWith(nwbFiles,
".nwb"
));
disp(
"Toolbox setup done."
);
Toolbox setup done.
nwbFile = nwbPath + nwbFiles{2};
nwb = nwbRead(nwbFile);
disp(
"Loaded"
+ nwbFile);
Loadeddata\sub-C31o_ses-230816.nwb
disp(
"Probe N = "
+ num2str(length(nwb.general_extracellular_ephys.values())));
Probe N = 3
chrsp1 = jReceptiveFieldMap(nwb, 1);
-> 3 Probes detected in sub-C31o_ses-230816 -->This function will process only probe no.1 (PFC)
chrsp2 = jReceptiveFieldMap(nwb, 2);
-> 3 Probes detected in sub-C31o_ses-230816 -->This function will process only probe no.2 (V4, MT)
chrsp3 = jReceptiveFieldMap(nwb, 3);
-> 3 Probes detected in sub-C31o_ses-230816 -->This function will process only probe no.3 (V3, V1)